#include "visualizationoptions.h"
#include "ui_visualizationoptions.h"

VisualizationOptions::VisualizationOptions(QDialog *parent) :
QDialog(parent),
ui(new Ui::Dialog)
{
  ui->setupUi(this);

}


VisualizationOptions::~VisualizationOptions()
{
  delete ui;
}


int VisualizationOptions::getNumberOfIsoLines()
{
  QString sNumberOfCurves = ui->lineEdit->text();
  int nC = sNumberOfCurves.toInt();
  return nC;
}

void
VisualizationOptions::setmodeposprocessing()
{
	no_post_processing = ui->radioButton->isChecked();
    node_value = ui->radioButton_2->isChecked();
    point_element = ui->radioButton_3->isChecked();
    element_edge = ui->radioButton_4->isChecked();
	volume_contouring = ui->radioButton_5->isChecked();
}


bool 
VisualizationOptions::getno_post_processing()
{
  return no_post_processing;
}


bool 
VisualizationOptions::getnode_value()
{
  return node_value;
}


bool 
VisualizationOptions::getpoint_element()
{
  return point_element;
}


bool 
VisualizationOptions::getelement_edge()
{
	return element_edge;

}

bool 
VisualizationOptions::getvolume_contouring()
{
   return volume_contouring;
}